package com.ls.controller.holidaycategory.model;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
/**
 * @ClassName EditCategoryModel
 * @Description APP节假日分类model
 * @Author pengyu
 * @Date 2024/6/27 17:14
 * @Version 1.0
 **/
@Data
@NoArgsConstructor
@AllArgsConstructor
@Builder
public class EditCategoryModel {
    /**
     * 节假日分类名称
     */
    @NotNull(message = "节假日分类id不得为空")
    private Integer categoryId;
    /**
     * 节假日分类名称
     */
    @NotBlank(message = "节假日分类名称不得为空")
    private String categoryName;
}
